import request from '@/utils/request'

export function getgoodshistory (params) {
  return request({
    url: '/api/get_goods_history',
    method: 'get',
    params: params
  })
}
export function getgoodslist (params) {
  return request({
    url: '/api/get_goods_list',
    method: 'get',
    params: params
  })
}
export function getunioninfo (params) {
  return request({
    url: '/api/get_union_info',
    method: 'get',
    params: params
  })
}
export function getbetweendata (params) {
  return request({
    url: '/api/get_between_union_data',
    method: 'get',
    params: params
  })
}
export function gethistoryprice (params) {
  return request({
    url: '/api/history_price',
    method: 'get',
    params: params
  })
}
export function gethistorynum (params) {
  return request({
    url: '/api/history_num',
    method: 'get',
    params: params
  })
}
export function getline (params) {
  return request({
    url: 'https://zsxt.letuilm.com/api/newplug/dccGet1',
    method: 'post',
    params: params
  })
}
export function gettkeasy (params) {
  return request({
    url: '/api/get_extension_goods',
    method: 'get',
    params: params
  })
}
